﻿<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>支票申请财务审批</title>
    <link rel="stylesheet" type="text/css" href="../Content/Css/OperaMasksUI/default/om-all.css" />
    <link rel="stylesheet" type="text/css" href="../Content/Css/list.css" />
    <script type="text/javascript" src="../Scripts/jquery.1.6.3.min.js"></script>
    <script type="text/javascript" src="../Scripts/json2.js"></script>
    <script type="text/javascript" src="../Scripts/common.js"></script>
    <script type="text/javascript" src="../Scripts/OperaMasksUI/operamasks-ui.min.js"></script>
    <script type="text/javascript" src="../Scripts/Plugin/jquery.form.js"></script>
    <script type="text/javascript" src="../Scripts/OperaMasksUI/Plugin/om-yj-container.js"></script>
    <script type="text/javascript" src="../Scripts/Plugin/artDialog4.1.7/jquery.artDialog.js?skin=default"></script>
    <script type="text/javascript" src="../Scripts/Plugin/artDialog4.1.7/plugins/iframeTools.js"></script>
    <script type="text/javascript" src="../Scripts/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="../Scripts/locale/easyui-lang-zh_CN.js"></script>
    <link rel="stylesheet" type="text/css" href="../Scripts/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="../Scripts/themes/icon.css">
    <script type="text/javascript">
        var detailPanel, listGrid, colData, searchPanel, defaultSort, defaultWhere, currentUID, currentDept, currentSelectDept, currentDeptName, currentWhere = '', currentGIndex = -1;
        var showSearchPanel, showToolBar, oldRowData;
        var actionRoot = "../handler/ajax.ashx?type=AjaxSystem", comboxStatusData = [], genRenderDateformat, genRenderDateformatSS, genRenderCheckbox;

        $(document).ready(function () {
            $.ajax({
                cache: false, async: false,
                url: '../handler/ajax.ashx?type=AjaxSystem&method=loginIn',
                dataType: 'json', type: 'post',
                beforeSend: function () {
                    $.omMessageBox.waiting({
                        title: '请等待',
                        content: '服务器正在加载用户信息,请稍后...'
                    });
                },
                complete: function () {
                    $.omMessageBox.waiting("close");
                },
                success: function (data) {
                    if (data.IsError) {
                        goOn = false;
                        $.omMessageBox.alert({
                            content: '发现错误<BR>：' + data.Message,
                            onClose: function () {
                                window.top.location.href = decodeURIComponent("../Index.aspx");
                            }
                        });
                    }
                    else {
                        goOn = true;
                        currentUID = data.Data.userid;
                        currentDept = data.Data.deptid;
                        currentDeptName = data.Data.deptname;
                    }
                },
                error: function (result) {
                    goOn = false;
                    $.omMessageBox.alert({
                        content: '发现错误<BR>：' + result.status,
                        onClose: function () {
                            window.top.location.href = decodeURIComponent("Index.aspx");
                        }
                    });
                }
            });
            if (goOn) {
                $.ajax({
                    cache: false, async: false,
                    url: '../handler/ajax.ashx?type=AjaxSystem&method=getAuthInfo',
                    dataType: 'json', type: 'post',
                    data: { menuID: getQueryStringByName("menuid") },
                    beforeSend: function () {
                        $.omMessageBox.waiting({
                            title: '请等待',
                            content: '服务器正在获取授权信息,请稍后...'
                        });
                    },
                    complete: function () {
                        $.omMessageBox.waiting("close");
                    },
                    success: function (data) {
                        if (data.IsError) {
                            goOn = false;
                        }
                        else {
                            goOn = true;
                            if (data.Data.userData) {
                                //判断是否有查看权限
                                if (checkString(data.Data.userData, "查看所有") > -1) {
                                    currentSelectDept = " AND 1=1 ";
                                    currentWhere = " AND 1=1 ";
                                }
                                else {
                                    if (checkString(data.Data.userData, "查看部门") > -1) {
                                        currentSelectDept = " AND EXISTS ( SELECT 1 FROM vUserDepartment U WHERE U.UserID = " + currentUID + " AND A.Code = U.DeparemntCode) ";
                                        currentWhere = " AND EXISTS ( SELECT 1 FROM vUserDepartment U WHERE U.UserID = " + currentUID + " AND A.DeptCode = U.DeparemntCode) ";
                                    }
                                    else {
                                        currentSelectDept = " AND 1=0 ";
                                        currentWhere = " AND 1=0 ";
                                    }
                                }
                                //if (checkString(data.Data.userData, "提交") > -1) {
                                //    $("#button-submit").hide();
                                //}
                                //if (checkString(data.Data.userData, "撤销") > -1) {
                                //    $("#button-undo").hide();
                                //}
                            }
                        }
                    },
                    error: function (result) {
                        goOn = false;
                    }
                });
            }

            var element = $('body').omBorderLayout({
                fit: true,
                spacing: 0,
                panels: [
                {
                    id: "center-panel",
                    header: true,
                    //title: '<span style="color:#15428B;font-weight: bold;padding:6px;">支票申请列表</span><span id="button-delete" style="float:right;text-align:center;cursor:pointer;"><img src="../Content/Images/List/delete.png" width="16" height="16" style="border:none;vertical-align:middle" />删除</span><span id="button-copy" style="float:right;text-align:center;cursor:pointer;"><img src="../Content/Images/List/copy.png" width="16" height="16" style="border:none;vertical-align:middle" />复制</span><span id="button-edit" style="float:right;text-align:center;cursor:pointer;"><img src="../Content/Images/List/edit.png" width="16" height="16" style="border:none;vertical-align:middle" />编辑</span><span id="button-new" style="float:right;text-align:center;cursor:pointer;"><img src="../Content/Images/List/add.png" width="16" height="16" style="border:none;vertical-align:middle" />新增</span>',
                    region: "center"
                }, {
                    id: "west-panel",
                    resizable: true,
                    collapsible: true,
                    title: "<span style='color:#15428B;font-weight: bold;padding:6px;'>查询条件</span>",
                    region: "west",
                    width: 230
                },
                {
                    id: "south-panel",
                    region: "south",
                    header: false,
                    resizable: false,
                    collapsible: false,
                    height: 50
                }
                ]
            });
            showSearchPanel();
            showToolBar();
            colData = [
                { header: '申请号码', name: 'CheckApplyNo', width: 120, align: 'center' },
                { header: '申请状态', name: 'CheckApplyStatus', width: 50, align: 'center' },
                { header: '申请类型', name: 'CheckApplyType', width: 50, align: 'center' },
                { header: '部门编码', name: 'DeptCode', width: 50, align: 'center' },
                { header: '部门名称', name: 'DeptName', width: 80, align: 'center' },
                { header: '数量', name: 'Qty', width: 60, align: 'center' },
                { header: '备注', name: 'Note', width: 500, align: 'left' },
                { header: '财务拒绝', name: 'RejectNote2', width: 200, align: 'left' },
                { header: '申请时间', name: 'CheckApplyDate', width: 80, align: 'center', renderer: genRenderDateformatSS },
                { header: '提交', name: 'IsCommit', width: 30, align: 'center', renderer: genRenderCheckbox },
                { header: '提交时间', name: 'CommitDate', width: 120, align: 'center', renderer: genRenderDateformat },
                { header: '提交人', name: 'UserCommit', width: 80, align: 'center' },
                { header: '部门审核', name: 'IsVerify', width: 30, align: 'center', renderer: genRenderCheckbox },
                { header: '部门审核时间', name: 'VerifyDate', width: 120, align: 'center', renderer: genRenderDateformat },
                { header: '部门审核人', name: 'UserVerify', width: 80, align: 'center' },
                { header: '财务审核', name: 'IsAudit', width: 30, align: 'center', renderer: genRenderCheckbox },
                { header: '财务审核时间', name: 'AuditDate', width: 120, align: 'center', renderer: genRenderDateformat },
                { header: '财务审核人', name: 'UserAudit', width: 80, align: 'center' },
                { header: '创建人', name: 'UserCreate', width: 60, align: 'center' },
                { header: '创建时间', name: 'CreateDate', width: 120, align: 'center', renderer: genRenderDateformat },
                { header: '修改人', name: 'UserModify', width: 60, align: 'center' },
                { header: '修改时间', name: 'ModifyDate', width: 120, align: 'center', renderer: genRenderDateformat }
            ];
            defaultSort = { sortby: 'UID', sortdir: 'ASC' };
            defaultWhere = { where: " 1=1 " };
            listGrid = $('#listgrid').omGrid({
                width: '100%',
                height: 'fit',
                onRowDblClick: function (rowIndex, rowData, event) {
                    art.dialog.data('CurrentDept', currentDept);
                    art.dialog.data('CurrentDeptName', currentDeptName);
                    art.dialog.data('CurrentSelectDept', currentSelectDept);
                    art.dialog.data('currentUID', currentUID);
                    art.dialog.data('Index', rowIndex);
                    art.dialog.data('RowData', rowData);
                    art.dialog.data('Mode', 'update');
                    art.dialog.open('../CheckPages/CheckApplyRegister.aspx', {
                        id: 'CheckApplyRegisterUpdate', width: 700, height: 300, title: '支票申请登记', lock: true,
                        close: function () {
                        }
                    }, false);
                },
                onRowClick: function (rowIndex, rowData, event) {
                },
                singleSelect: false,
                editMode: "insert",
                limit: 50,
                extraData: $.extend(defaultWhere, defaultSort),
                dataSource: '',
                colModel: colData
            });
        });

        genRenderCheckbox = function (colValue, rowData, rowIndex) {
            if (colValue) {
                return '<input type="checkbox" id="00" checked="checked" disabled="disabled"></input>';
            }
            return '<input type="checkbox" id="01" disabled="disabled"></input>';
        }

        genRenderDateformatSS = function (colValue, rowData, rowIndex) {
            if (colValue.length == 0 || colValue == null) {
                return '';
            }
            else {
                if (colValue.indexOf("/Date") > -1)
                    return new Date(parseInt(colValue.replace("/Date(", "").replace(")/", ""), 10)).Format("yyyy-MM-dd");
                else
                    return colValue;
            }
        }

        genRenderDateformat = function (colValue, rowData, rowIndex) {
            if (colValue.length == 0 || colValue == null) {
                return '';
            }
            else {
                if (colValue.indexOf("/Date") > -1)
                    return new Date(parseInt(colValue.replace("/Date(", "").replace(")/", ""), 10)).Format("yyyy-MM-dd hh:mm");
                else
                    return colValue;
            }
        }

        showToolBar = function () {
            $('span#button-new').click(function () {
                art.dialog.data('CurrentDept', currentDept);
                art.dialog.data('CurrentDeptName', currentDeptName);
                art.dialog.data('CurrentSelectDept', currentSelectDept);
                art.dialog.data('currentUID', currentUID);
                art.dialog.data('Index', 0);
                art.dialog.data('RowData', []);
                art.dialog.data('Mode', 'new');
                art.dialog.open('../CheckPages/CheckApplyRegister.aspx', {
                    id: 'CheckApplyRegisterNew', width: 700, height: 300, title: '支票申请登记', lock: true,
                    close: function () {

                    }
                }, false);
            });
            $('span#button-copy').click(function () {
                if (listGrid[0].rows.length > 0) {
                    var selectRow = listGrid.omGrid("getSelections", true);
                    var selectRowIndex = listGrid.omGrid("getSelections");
                    if (selectRow.length == 1 && selectRowIndex.length == 1) {
                        art.dialog.data('CurrentDept', currentDept);
                        art.dialog.data('CurrentDeptName', currentDeptName);
                        art.dialog.data('CurrentSelectDept', currentSelectDept);
                        art.dialog.data('currentUID', currentUID);
                        art.dialog.data('Index', selectRowIndex[0]);
                        art.dialog.data('RowData', selectRow[0]);
                        art.dialog.data('Mode', 'copy');
                        art.dialog.open('../CheckPages/CheckApplyRegister.aspx', {
                            id: 'CheckApplyRegisterCopy', width: 700, height: 300, title: '支票申请登记', lock: true,
                            close: function () {
                            }
                        }, false);
                    }
                    else {
                        $.omMessageBox.alert({
                            content: '至少选取一条可复制的数据'
                        });
                    }
                }
                else {
                    $.omMessageBox.alert({
                        content: '没有可复制的数据'
                    });
                }
            });
            $('span#button-edit').click(function () {
                if (listGrid[0].rows.length > 0) {
                    var selectRow = listGrid.omGrid("getSelections", true);
                    var selectRowIndex = listGrid.omGrid("getSelections");
                    if (selectRow.length == 1 && selectRowIndex.length == 1) {
                        art.dialog.data('CurrentDept', currentDept);
                        art.dialog.data('CurrentDeptName', currentDeptName);
                        art.dialog.data('CurrentSelectDept', currentSelectDept);
                        art.dialog.data('currentUID', currentUID);
                        art.dialog.data('Index', selectRowIndex[0]);
                        art.dialog.data('RowData', selectRow[0]);
                        art.dialog.data('Mode', 'update');
                        art.dialog.open('../CheckPages/CheckApplyRegister.aspx', {
                            id: 'CheckApplyRegisterUpdate', width: 700, height: 300, title: '支票申请编辑', lock: true,
                            close: function () {
                            }
                        }, true);
                    }
                    else {
                        $.omMessageBox.alert({
                            content: '至少选取一条可编辑的数据'
                        });
                    }
                }
                else {
                    $.omMessageBox.alert({
                        content: '没有可编辑的数据'
                    });
                }
            });
            $('span#button-delete').click(function () {
                if (listGrid[0].rows.length > 0) {
                    var selectRow = listGrid.omGrid("getSelections", true);
                    var selectRowIndex = listGrid.omGrid("getSelections");
                    if (selectRow.length == 1 && selectRowIndex.length == 1) {
                        $.omMessageBox.confirm({
                            title: '确认删除',
                            content: '确定要删除吗？',
                            onClose: function (v) {
                                if (v) {
                                    $.ajax({
                                        cache: false, async: false,
                                        url: '../handler/ajax.ashx?type=AjaxSystem&method=RemoveCheckApply',
                                        dataType: 'json', type: 'post',
                                        data: { UID: selectRow[0].UID, USERID: currentUID },
                                        beforeSend: function () {
                                            $.omMessageBox.waiting({
                                                title: '请等待',
                                                content: '系统正在删除信息,请稍后...'
                                            });
                                        },
                                        complete: function () {
                                            $.omMessageBox.waiting("close");
                                        },
                                        success: function (data) {
                                            if (data.IsError) {
                                                $.omMessageBox.alert({
                                                    content: '错误：' + data.Message
                                                });
                                            }
                                            else {
                                                $.omMessageBox.alert({
                                                    content: data.Message,
                                                    onClose: function () {
                                                        listGrid.omGrid("deleteRow", selectRowIndex[0]);
                                                        listGrid.omGrid('saveChanges');
                                                        listGrid.omGrid("refresh");
                                                    }
                                                });
                                            }
                                        },
                                        error: function (result) {
                                            $.omMessageBox.alert({
                                                content: '发现系统错误,请重新登录<BR>错误码：' + result.status
                                            });
                                        }
                                    });
                                }
                            }
                        });
                    }
                    else {
                        $.omMessageBox.alert({
                            content: '至少选取一条可删除的数据'
                        });
                    }
                }
            });
        }

        showSearchPanel = function () {
            //加载状态
            $.ajax({
                cache: false, async: false,
                url: "../Handler/combox.ashx?view=vBaseData",
                dataType: 'json', type: 'post',
                beforeSend: function () {
                    $.omMessageBox.waiting({
                        title: '请等待',
                        content: '服务器正在加载基础信息,请稍后...'
                    });
                },
                complete: function () {
                    $.omMessageBox.waiting("close");
                },
                success: function (data) {
                    comboxStatusData = []
                    $.each(data, function (index, value) {
                        switch (value.Type) {
                            case '支票申请状态':
                                comboxStatusData.push({ name: value.Name, code: value.Code, type: value.Type });
                                return true;
                            default:
                                return true;
                        }
                    })
                    $('#CheckApplyStatus').combobox({
                        data: comboxStatusData,
                        valueField: 'name',
                        textField: 'name',
                    });
                },
                error: function (result) {
                    goOn = false;
                    $.omMessageBox.waiting("close");
                    $.omMessageBox.alert({
                        content: '发现错误<BR>：' + result.status
                    });
                }
            });
            $("#button-search").click(function () {
                var custWhere = '';
                if ($("#search-panel input[id='CheckApplyDateStart']").datebox("getValue").length > 0) {
                    custWhere = " AND (CheckApplyDate BETWEEN '" + $("#search-panel input[id='CheckApplyDateStart']").datebox("getValue") + "' AND ";
                    if ($("#search-panel input[id='CheckApplyDateEnd']").datebox("getValue").length > 0) {
                        custWhere += " '" + $("#search-panel input[id='CheckApplyDateEnd']").datebox("getValue") + "') "
                    }
                    else {
                        custWhere += " GETDATE()) "
                    }
                }
                if ($("#search-panel input[id='CheckApplyStatus']").combobox("getValue").length > 0)
                    custWhere += " AND CheckApplyStatus = '" + $("#search-panel input[id='CheckApplyStatus']").combobox("getValue") + "'";
                if ($("#search-panel input[id='CheckApplyNo']").val().length > 0) {
                    custWhere += ' AND CheckApplyNo LIKE ' + '\'%' + $("#search-panel input[id='CheckApplyNo']").val() + '%\'';
                }
                if ($("#search-panel input[id='DeptName']").val().length > 0) {
                    custWhere += ' AND DeptName LIKE ' + '\'%' + $("#search-panel input[id='DeptName']").val() + '%\'';
                }
                listGrid.omGrid({
                    extraData: $.extend({ where: defaultWhere.where + currentWhere + custWhere }, defaultSort),
                    dataSource: '../Handler/grid.ashx?view=vCheckApplyAudit'
                });
            });
            $('#button-clear').click(function () {
                $("div[id='search-panel'] input").val("");
            });
            $('#button-Audit').click(function () {
                if (listGrid[0].rows.length > 0) {
                    var selectRow = listGrid.omGrid("getSelections", true);
                    if (selectRow.length > 0) {
                        var tempuid = '', tempuidcount = 0;
                        $.each(selectRow, function (index, value) {
                            tempuid += value.UID + ',';
                            tempuidcount += 1;
                        });
                        $.ajax({
                            cache: false, async: false,
                            url: '../handler/ajax.ashx?type=AjaxSystem&method=AuditCheckApply',
                            dataType: 'json', type: 'post',
                            data: { UID: tempuid.substring(0, tempuid.length - 1), USERID: currentUID },
                            beforeSend: function () {
                                $.omMessageBox.waiting({
                                    title: '请等待',
                                    content: '系统正在提交,请稍后...'
                                });
                            },
                            complete: function () {
                                $.omMessageBox.waiting("close");
                            },
                            success: function (data) {
                                if (data.IsError) {
                                    $.omMessageBox.alert({
                                        content: '错误：' + data.Message
                                    });
                                }
                                else {
                                    art.dialog.data('showValue', JSON2.parse(data.Data))
                                    art.dialog.open('../CheckPages/ShowBox.aspx', {
                                        id: 'selectDiv', width: 650, height: 400, title: '操作结果', lock: true,
                                        close: function () {
                                            listGrid.omGrid("reload");
                                        }
                                    }, false);
                                }
                            },
                            error: function (result) {
                                $.omMessageBox.alert({
                                    content: '发现系统错误,请重新登录<BR>错误码：' + result.status
                                });
                            }
                        });
                    }
                    else {
                        $.omMessageBox.alert({
                            content: '请至少选择一条数据',
                            onClose: function () { }
                        });
                    }
                }
            });
            $('#button-undo').click(function () {
                if (listGrid[0].rows.length > 0) {
                    var selectundoRow = listGrid.omGrid("getSelections", true);
                    if (selectundoRow.length > 0) {
                        var tempuid = '', tempuidcount = 0;
                        $.each(selectundoRow, function (index, value) {
                            tempuid += value.UID + ',';
                            tempuidcount += 1;
                        });
                        $.ajax({
                            cache: false, async: false,
                            url: '../handler/ajax.ashx?type=AjaxSystem&method=AuditUndoCheckApply',
                            dataType: 'json', type: 'post',
                            data: { UID: tempuid.substring(0, tempuid.length - 1), USERID: currentUID },
                            beforeSend: function () {
                                $.omMessageBox.waiting({
                                    title: '请等待',
                                    content: '系统正在提交,请稍后...'
                                });
                            },
                            complete: function () {
                                $.omMessageBox.waiting("close");
                            },
                            success: function (data) {
                                if (data.IsError) {
                                    $.omMessageBox.alert({
                                        content: '错误：' + data.Message
                                    });
                                }
                                else {
                                    art.dialog.data('showValue', JSON2.parse(data.Data))
                                    art.dialog.open('../CheckPages/ShowBox.aspx', {
                                        id: 'selectDiv', width: 650, height: 400, title: '操作结果', lock: true,
                                        close: function () {
                                            listGrid.omGrid("reload");
                                        }
                                    }, false);
                                }
                            },
                            error: function (result) {
                                $.omMessageBox.alert({
                                    content: '发现系统错误,请重新登录<BR>错误码：' + result.status
                                });
                            }
                        });
                    }
                    else {
                        $.omMessageBox.alert({
                            content: '请至少选择一条数据',
                            onClose: function () { }
                        });
                    }
                }
            });
            $('#button-reject').click(function () {
                if (listGrid[0].rows.length > 0) {
                    var selectRow = listGrid.omGrid("getSelections", true);
                    if (selectRow.length == 1) {
                        art.dialog.data('currentUID', currentUID);
                        art.dialog.data('UID', selectRow[0].UID);
                        art.dialog.data('verb', 2);
                        art.dialog.open('../CheckPages/CheckReject.aspx', {
                            id: 'CheckReject', width: 420, height: 200, title: '支票申请财务拒绝', lock: true,
                            close: function () {
                                listGrid.omGrid("reload");
                            }
                        }, false);
                    }
                    else {
                        $.omMessageBox.alert({
                            content: '至少选取一条要拒绝的支票申请信息'
                        });
                    }
                }
            });
        };
    </script>
</head>
<body>
    <div id="west-panel" class="westpanel">
        <div id="search-panel">
           <table>
                <tr>
                    <td style="width: 60px" align="right">
                        <span class="label">创建时间</span>
                    </td>
                    <td>
                        <input type="text" class="easyui-datebox" id="CheckApplyDateStart" " name="CheckApplyDateStart" style="width: 120px;" />
                    </td>
                </tr>
                <tr>
                    <td style="width: 60px" align="right">
                        <span class="label">到</span>
                    </td>
                    <td>
                        <input type="text" class="easyui-datebox" id="CheckApplyDateEnd" " name="CheckApplyDateEnd" style="width: 120px;" />
                    </td>
                </tr>
                <tr>
                    <td style="width: 60px" align="right">
                        <span class="label">申请状态</span>
                    </td>
                    <td>
                        <input  class="easyui-combobox" name="CheckApplyStatus" id="CheckApplyStatus" style="width: 120px;" />
                    </td>
                </tr>
                <tr>
                    <td style="width: 60px" align="right">
                        <span class="label">申请编号</span>
                    </td>
                    <td>
                        <input type="text" class="input-text" name="CheckApplyNo" id="CheckApplyNo" 
                            data-options="required:false;validType:'length[1,8]'" style="border: 1px solid #A4BED4; height:20px;width: 118px;" />
                    </td>
                </tr>
                <tr>
                    <td style="width: 60px" align="right">
                        <span class="label">申请部门</span>
                    </td>
                    <td>
                        <input type="text" class="input-text" name="DeptName" id="DeptName" 
                            data-options="required:false;" style="border: 1px solid #A4BED4; height:20px;width: 118px;" />
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <div id="center-panel">
        <table id="listgrid"></table>
    </div>
    <div id="south-panel">
        <table style="margin-top: 5px; margin-left: 20px;">
            <tr>
                <td>
                    <input id="button-search" type="button" class="btnCss" value="搜    索" />
                    <input id="button-clear" type="button" class="btnCss" value="清    空" style="margin-left: 20px;" />
                    <input id="button-Audit" type="button" class="btnCss" value="审    核" style="margin-left: 20px;" />
                    <input id="button-undo" type="button" class="btnCss" value="撤销审核" style="margin-left: 20px;" />
                    <input id="button-reject" type="button" class="btnCss" value="拒    绝" style="margin-left: 20px;" />
                </td>
            </tr>
        </table>
    </div>
</body>
</html>
